Repository navigation
speakerguardd: account for sense gaps instead of exiting - #3
Closed
RyanTheTide wants to merge 6 commits into
Closed
RyanTheTide wants to merge 6 commits into
RyanTheTide wants to merge 6 commits into
Conversation
Pin the Aurora stack, retain Mesa epoch and legacy boot paths, and isolate audio replacements from stock-name upgrades. Keep source tracking disabled for the review candidates. Signed-off-by: DjDeveloperr <hey@djdev.me> Assisted-by: LLM
…hing 5f6c917 merges omacom#301, which leaves the firmware-owned J700 DISP_CPU domain alone; 790d5a81 does not boot the Neo. ALARM's clang18, llvm18 and lld18 install only under /usr/lib/llvm18/bin, so LLVM defaults to that prefix and they are makedepends. The m1n1 floor goes back to 1.6.1, which M1 and M2 users' m1n1-aurora meets, and replaces=linux-asahi goes: it would swap the kernel of every Mac on [omarchy] at its next update. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
replaces= on a stock name swaps that package on every machine using [omarchy] at its next update: Mesa on every aarch64 machine, and m1n1, U-Boot, bless and the audio stack of every M1 and M2; on Qualcomm the platform guard would then refuse the whole upgrade. The recipes keep conflicts and provides, so the Neo image installs them explicitly, and replace only the Neo-only draft names. Every recipe carries the apple-silicon platform group. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
No package ships the MT7932 policy files, so the initcpio hook adds them only when present instead of failing the build. Only US and world-XZ exist, and the radio stays blocked for any other country, such as one set from the timezone at setup; a watcher on regulatory changes switches such a country to the world domain. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A first build makes the CL shader compilers Asahi needs; the packaged drivers use them with -Dllvm=disabled and -Dspirv-tools=disabled, so an Arch Linux ARM LLVM or SPIRV-Tools bump no longer leaves the Neo without a GPU until a rebuild. llvmpipe goes with LLVM; softpipe stays. check() refuses a staged library that needs either, and libdisplay-info triggers rebuilds. The recipe did not build before: arch-meson's --buildtype clashed with -Dbuildtype=release, and its --auto-features enabled demands the VA front end this driver set cannot have. meson setup now takes arch-meson's flags without auto-features, with b_ndebug like Arch's Mesa, and pins the optional features the dependencies follow. makedepends names rust-bindgen, Arch's bindgen package. Mesa's tests stay off: hk_sampler_bias_test undefines NDEBUG and calls nir_validate_shader, so it links only in debug builds. Built in an Omarchy edge chroot on Arch Linux ARM. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pin aurora-silicon/speakerguardd 13e5aaa (fix/complete-sense-before-unlock, aurora-silicon/speakerguardd#2). Only complete, finite sense periods count as measured; a short gap is charged to the thermal model at the worst case, a long one hands the speakers to the kernel's safe level until sensing recovers, and a restart resumes the saved model from /run/speakerguardd/state. The pinned unit now sets StartLimitIntervalSec=60 and StartLimitBurst=5 itself, so prepare() only adds -C AppleJ700 to ExecStart. pkgver 0.1.0.aurora2 -> 0.1.0.aurora3. Assisted-by: LLM Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
DjDeveloperr
force-pushed
the
feat/aurora-edge
branch
from
October 17, 2026 06:29
f661b7a to
12bd60b
Compare
Author
|
feat/aurora-edge went upstream as omacom#1101, so this base is closed. The sense-gap fix itself (speakerguardd 8f6eb9a) ships in speakerguardd d1bc5a02, which omacom#1330 packages. Closing as superseded. Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
Bumps
speakerguarddto aurora-silicon/speakerguardd 13e5aaa, the head of aurora-silicon/speakerguardd#2 (fix/complete-sense-before-unlock).The pinned daemon (e03febf) could renew the speaker volume lock on partial or stale sense data. #2 counts only complete, finite sense periods as measured. Instead of exiting on a gap, it charges unmeasured time to the thermal model at the worst case. After a long outage it stops renewing the lock, so the kernel drops the speakers to its safe level (20 dB down), and it takes the lock back once sensing recovers. Restarts resume the saved model from
/run/speakerguardd/state.Recipe changes:
pkgver0.1.0.aurora2 -> 0.1.0.aurora3,_commit-> 13e5aaa.StartLimitIntervalSec=60/StartLimitBurst=5itself, along withRuntimeDirectory=speakerguardd, soprepare()only adds-C AppleJ700toExecStart. The old two replacements would no longer match and would failprepare().Verified
python3 tests/aurora-edge/metadata.py: 8 tests OK.makepkg --ignorearch --nodepson x86_64 Arch (rust 1.96.0):prepare()applies,build()succeeds, andcheck()(cargo test --locked) reports 32 passed and 0 failed. The packaged unit has the AppleJ700ExecStart, the start limits and theRuntimeDirectory. The aarch64 build was not run in this pass.Hardware status
Not verified on hardware. The attended fail-safe drills S, E and F (install and quiet electrical check through the state file; kill -9, PipeWire restart and suspend/resume; a 30-minute start/stop soak) are still pending, so this is a draft.
Note: 13e5aaa is on #2's branch, not yet on speakerguardd
main. If #2 is squash-merged, re-pin to the merge commit.🤖 Generated with Claude Code